package sch.frog.behavioral.mediator;

public class ConcreteColleagueA implements Colleague {

    private Mediator mediator;

    @Override
    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }

    @Override
    public void run(String arg) {
        System.out.println("A: hi!" + arg);
        mediator.doSomething(arg, this);
    }
}
